package com.powernode.mapper;

import com.powernode.domain.Zfb;
import org.apache.ibatis.annotations.Param;

/**
*内容: 
*作者: cy
*/   
    
   
public interface ZfbMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Zfb record);

    int insertSelective(Zfb record);

    Zfb selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Zfb record);

    int updateByPrimaryKey(Zfb record);

    /**
     * 用户登录
     * @param name
     * @param pwd
     * @return
     */
    Zfb login(@Param("name") String name,@Param("pwd") String pwd);
}